//
//  DescCell.m
//  QcMedical1
//
//  Created by ios001 on 2016/12/21.
//  Copyright © 2016年 jiawen Du. All rights reserved.
//

#import "DescCell.h"

@implementation DescCell

- (void)awakeFromNib {
    [super awakeFromNib];

    
}

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        UIImageView *imgV = [[UIImageView alloc] init];
        _imgV = imgV;
        [self.contentView addSubview:imgV];
        UILabel *lb_descText = [[UILabel alloc] init];
        _lb_descText = lb_descText;
        [self.contentView addSubview:lb_descText];
        
        [imgV mas_makeConstraints:^(MASConstraintMaker *make) {
            make.height.width.mas_equalTo(20);
            make.left.equalTo(self.contentView).mas_offset(15);
        }];
        [lb_descText mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(imgV).mas_offset(30);
        }];
    }
    return self;
}

@end
